package com.ibingo.realize.core.entity;

import java.sql.Timestamp;

/**
 * Created by IntelliJ IDEA.
 * User: Singe
 * Date: 2017-10-18
 * Time: 15:04
 * To change this template use File | Settings | File Templates.
 */
public class TUser {
    private int id;
    private String eid;
    private String serialId;
    private String androidId;
    private String func;
    private String appName;
    private String imsi;
    private String imei;
    private String nw;
    private String gaid;
    private String country;
    private String mccmnc;
    private String carrierName;
    private String sysVer;
    private String sysLang;
    private String pType;
    private String factory;
    private String pNumber;
    private String channel;
    private String versionCode;
    private Integer isRoot;
    private Timestamp createDate;
    private Timestamp modifyDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getSerialId() {
        return serialId;
    }

    public void setSerialId(String serialId) {
        this.serialId = serialId;
    }

    public String getAndroidId() {
        return androidId;
    }

    public void setAndroidId(String androidId) {
        this.androidId = androidId;
    }

    public String getFunc() {
        return func;
    }

    public void setFunc(String func) {
        this.func = func;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getNw() {
        return nw;
    }

    public void setNw(String nw) {
        this.nw = nw;
    }

    public String getGaid() {
        return gaid;
    }

    public void setGaid(String gaid) {
        this.gaid = gaid;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getMccmnc() {
        return mccmnc;
    }

    public void setMccmnc(String mccmnc) {
        this.mccmnc = mccmnc;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }

    public String getSysVer() {
        return sysVer;
    }

    public void setSysVer(String sysVer) {
        this.sysVer = sysVer;
    }

    public String getSysLang() {
        return sysLang;
    }

    public void setSysLang(String sysLang) {
        this.sysLang = sysLang;
    }

    public String getpType() {
        return pType;
    }

    public void setpType(String pType) {
        this.pType = pType;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getpNumber() {
        return pNumber;
    }

    public void setpNumber(String pNumber) {
        this.pNumber = pNumber;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public Integer getIsRoot() {
        return isRoot;
    }

    public void setIsRoot(Integer isRoot) {
        this.isRoot = isRoot;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public Timestamp getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Timestamp modifyDate) {
        this.modifyDate = modifyDate;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TUser tUser = (TUser) o;

        if (id != tUser.id) return false;
        if (eid != null ? !eid.equals(tUser.eid) : tUser.eid != null) return false;
        if (serialId != null ? !serialId.equals(tUser.serialId) : tUser.serialId != null) return false;
        if (androidId != null ? !androidId.equals(tUser.androidId) : tUser.androidId != null) return false;
        if (func != null ? !func.equals(tUser.func) : tUser.func != null) return false;
        if (appName != null ? !appName.equals(tUser.appName) : tUser.appName != null) return false;
        if (imsi != null ? !imsi.equals(tUser.imsi) : tUser.imsi != null) return false;
        if (imei != null ? !imei.equals(tUser.imei) : tUser.imei != null) return false;
        if (nw != null ? !nw.equals(tUser.nw) : tUser.nw != null) return false;
        if (gaid != null ? !gaid.equals(tUser.gaid) : tUser.gaid != null) return false;
        if (country != null ? !country.equals(tUser.country) : tUser.country != null) return false;
        if (mccmnc != null ? !mccmnc.equals(tUser.mccmnc) : tUser.mccmnc != null) return false;
        if (carrierName != null ? !carrierName.equals(tUser.carrierName) : tUser.carrierName != null) return false;
        if (sysVer != null ? !sysVer.equals(tUser.sysVer) : tUser.sysVer != null) return false;
        if (sysLang != null ? !sysLang.equals(tUser.sysLang) : tUser.sysLang != null) return false;
        if (pType != null ? !pType.equals(tUser.pType) : tUser.pType != null) return false;
        if (factory != null ? !factory.equals(tUser.factory) : tUser.factory != null) return false;
        if (pNumber != null ? !pNumber.equals(tUser.pNumber) : tUser.pNumber != null) return false;
        if (channel != null ? !channel.equals(tUser.channel) : tUser.channel != null) return false;
        if (versionCode != null ? !versionCode.equals(tUser.versionCode) : tUser.versionCode != null) return false;
        if (isRoot != null ? !isRoot.equals(tUser.isRoot) : tUser.isRoot != null) return false;
        if (createDate != null ? !createDate.equals(tUser.createDate) : tUser.createDate != null) return false;
        if (modifyDate != null ? !modifyDate.equals(tUser.modifyDate) : tUser.modifyDate != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (eid != null ? eid.hashCode() : 0);
        result = 31 * result + (serialId != null ? serialId.hashCode() : 0);
        result = 31 * result + (androidId != null ? androidId.hashCode() : 0);
        result = 31 * result + (func != null ? func.hashCode() : 0);
        result = 31 * result + (appName != null ? appName.hashCode() : 0);
        result = 31 * result + (imsi != null ? imsi.hashCode() : 0);
        result = 31 * result + (imei != null ? imei.hashCode() : 0);
        result = 31 * result + (nw != null ? nw.hashCode() : 0);
        result = 31 * result + (gaid != null ? gaid.hashCode() : 0);
        result = 31 * result + (country != null ? country.hashCode() : 0);
        result = 31 * result + (mccmnc != null ? mccmnc.hashCode() : 0);
        result = 31 * result + (carrierName != null ? carrierName.hashCode() : 0);
        result = 31 * result + (sysVer != null ? sysVer.hashCode() : 0);
        result = 31 * result + (sysLang != null ? sysLang.hashCode() : 0);
        result = 31 * result + (pType != null ? pType.hashCode() : 0);
        result = 31 * result + (factory != null ? factory.hashCode() : 0);
        result = 31 * result + (pNumber != null ? pNumber.hashCode() : 0);
        result = 31 * result + (channel != null ? channel.hashCode() : 0);
        result = 31 * result + (versionCode != null ? versionCode.hashCode() : 0);
        result = 31 * result + (isRoot != null ? isRoot.hashCode() : 0);
        result = 31 * result + (createDate != null ? createDate.hashCode() : 0);
        result = 31 * result + (modifyDate != null ? modifyDate.hashCode() : 0);
        return result;
    }
}
